import 'package:xin_nuo_pda/bean/part_entity.dart';
import 'dart:convert';

partEntityFromJson(PartEntity data, Map<String, dynamic> json) {
	if (json['PARTSNAME'] != null) {
		data.pARTSNAME = json['PARTSNAME'].toString();
	}
	if (json['PARTSID'] != null) {
		data.pARTSID = json['PARTSID'].toString();
	}
	return data;
}

Map<String, dynamic> partEntityToJson(PartEntity entity) {
	final Map<String, dynamic> data = new Map<String, dynamic>();
	data['PARTSNAME'] = entity.pARTSNAME;
	data['PARTSID'] = entity.pARTSID;
	return data;
}